<template>
    <Child :init="{heigth:'180cm',weight:'70kg'}"/>
    <Child :height="bodyInfo.height" :weight="bodyInfo.weight"/>
    <Child v-bind="bodyInfo"/>
</template>
<script setup>
import Child from './Child.vue';
import {reactive} from 'vue';
// const username=ref('小圆')
// const age=ref(12)
// const isFlag=ref(true)
// const hobby=ref(['唱歌','跳舞','滑冰'])
const bodyInfo=reactive({
    height:'180cm',
    weight:'70kg'
})
</script>